package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.ibatis.type.TypeHandler;

/**
 * 导航对象 pub_navigation
 *
 * @author ruoyi
 * @date 2024-04-10
 */
public class PubNavigation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String name;

    /** 标签 */
    @Excel(name = "标签")
    private String tag;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverImg;

    /** 图片链接 */
    @Excel(name = "图片链接")
    private String imgUrl;

    /** 链接 */
    @Excel(name = "链接")
    private String url;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isEnable;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setCoverImg(String coverImg)
    {
        this.coverImg = coverImg;
    }

    public String getCoverImg()
    {
        return coverImg;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public void setIsEnable(String isEnable)
    {
        this.isEnable = isEnable;
    }

    public String getIsEnable()
    {
        return isEnable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("tag", getTag())
            .append("description", getDescription())
            .append("coverImg", getCoverImg())
            .append("url", getUrl())
            .append("type", getType())
            .append("isEnable", getIsEnable())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
